package com.yangqun;

import com.yangqun.annotation.ExcelBeanMethodUtil;

import java.lang.reflect.Field;

public class Studer{
	
	//姓名
	@ExcelBeanMethodUtil(excelHeadName="姓名",writeInvokeMethod="getName")
	public String name;
	//班级
	@ExcelBeanMethodUtil(excelHeadName="班级",writeInvokeMethod="getBanji")
	public String banji;
	//笔试成绩
	@ExcelBeanMethodUtil(excelHeadName="笔试成绩",writeInvokeMethod="getBishicj")
	public int bishicj;
	//机考成绩
	@ExcelBeanMethodUtil(excelHeadName="机试成绩",writeInvokeMethod="getJishicj")
	public int jishicj;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getBanji() {
		return banji;
	}
	public void setBanji(String banji) {
		this.banji = banji;
	}
	public int getBishicj() {
		return bishicj;
	}
	public void setBishicj(int bishicj) {
		this.bishicj = bishicj;
	}
	public int getJishicj() {
		return jishicj;
	}
	public void setJishicj(int jishicj) {
		this.jishicj = jishicj;
	}
	
//	public static void main(String[] args) {
//		Studer studer = new Studer();
//		studer.setName("name");
//		studer.setBanji("四年级一班");
//		studer.setBishicj((int)(Math.random() * 100 + 1));
//		studer.setJishicj((int)(Math.random() * 100 + 1));
//		Field[] fields = studer.getClass().getDeclaredFields();
//
//	}

	
}